<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<s:actionerror/>
<s:form namespace="/user" action="userregister" method="post">
	<s:token />
	<div>
		<s:textfield id="username" name="user.username">用户名</s:textfield>
	</div>
	<div>
		<s:textfield id="password" name="user.password">密&nbsp;&nbsp;码</s:textfield>
	</div>
	<div>
		<s:select id="gender" name="user.gender" list="#{0:'男',1:'女',2:'其他'}" listKey="key" listValue="value">性&nbsp;&nbsp;别</s:select>
	</div>
	<div>
		<s:submit id="btn_reg" type="submit" value="注册"></s:submit>
		<s:reset id="btn_reset" type="reset" value="重置"></s:reset>
	</div>
</s:form>
</body>
</html>